import com.s05.homework.model.User;

public class CreateAndUpdateAccount {

	public static void main(String[] args) {

		String[] inputdata = { "Rafal,Fusik,1979-10-09",
				"Josef,Stalin,1939-10-01", "Mr,Brzeczyszkiewicz,1978-10-08" };

		for (int i = 0; i < inputdata.length; i++) {
			User user = new User();
			user.setUser(inputdata[i]);
			user.creatAccount();
			user.parseAge();
			user.updateAccount();
		}

	}
}
